<template>
  <div class="test1">
    <h3>我是test1页面</h3>
    <el-button
      type="primary"
      @click="$bus.$emit('sendData', '你好啊，test2页面')"
      >给test2页面传参（Bus）</el-button
    >
  </div>
</template>

<script type="text/ecmascript-6">
export default {
  data() {
    return {};
  },
  components: {},
};
</script>

<style scoped>
</style>
